import { useState } from 'react';

export default () => {
  const [user, setUser] = useState({
    name: 'user',
    age: 18,
    sex: 'male',
  });
  const [loading, setLoading] = useState(true);

  return {
    user,
    loading,
    setUser,
    setLoading,
  };
};
